import sys
import os
from datetime import datetime
# 添加项目根目录到 Python 路径
sys.path.append(os.path.abspath("../"))

from include import para    
from include import dataBase
from include import dealDate
from include import dealCode
from include import dealHistory
from include import dealMarket
from include import dealPool

if __name__ == '__main__':
    connect = dataBase.dataBaseConnect("../../../dataBaseConfig.json")
    dealPoolTest = dealPool.dealPool(connect)

    if 1:
        # 查找某天涨停的股票并存储
        print("test dealPoolTest.getTopLimit")
        dealPoolTest.getTopLimit("2025-05-06")
        dealPoolTest.getBottom("2025-05-06")
        dealPoolTest.getMeat("2025-05-06")
        dealPoolTest.getNoodle("2025-05-06")

    connect.commit()





